package com.example.shengyin.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

@Data
@ApiModel("症状")
public class Symtype {

    @ApiModelProperty("编号")
    private Long id;

    @NotNull
    @ApiModelProperty("症状类型")
    private String symtype;

    @ApiModelProperty("发布人")
    private String poster;

    @ApiModelProperty("发布时间")
    private Timestamp posttime;

    @ApiModelProperty("是否启用")
    private boolean isvalid;

}
